<!-- IF YOU ARE VIEWING THIS IN A TEXT EDITOR, PLEASE NOTE THAT YOU CAN VIEW IT WITH FORMATTING IN A BROWSER. -->
<html>
<head>
<title>Sql Errors</title>
</head>
<h1>Sql Errors</h1>
<p>This page should help you find out why you get an error message from a SQL operation.</p>
	<ul>
		<li><a href="#err1">Errno(1)</a></li>
		<li><a href="#err2">Errno(2)</a></li>
	</ul>

<a name="err1">Errno(1)</a>
<p>You will get this message if the script can't connect to your database. Please make sure that your database host, username, and password are set correctly in lib/config.php. It should look like this:
<pre>
$host =         "hostname"; #your database host
$user =         "username"; #your database username
$password =     "passname"; #your database password
</pre>
</p>
<hr />
<a name="err2">Errno(2)</a>
<p>You will get this message if you did connect to the database server, but it couldn't find the database. Please make sure your database host is set correctly in lib/config.php. It should similiar to this:
<pre>
$database =     "databasename"; #your database title
</pre>
</p>
<hr />
</html>
</head>